package fnord.illuminati.action.actions;

import fnord.illuminati.action.AttackModifierAction;
import fnord.illuminati.card.groupcards.AntiNuclearActivists;
import fnord.illuminati.order.AttackOrder;
import fnord.illuminati.order.AttackType;

public class HealthFoodStoresAction implements AttackModifierAction {
	private static final long serialVersionUID = -4423058987407444975L;

	@Override
	public int doAttack(AttackOrder order) {
		if (order.getAttackType() == AttackType.CONTROL && order.getTo() instanceof AntiNuclearActivists)
			return 2;
		else
			return 0;
	}

	@Override
	public int doDefend(AttackOrder order) {
		return 0;
	}
}
